﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entity.Role
{
    /// <summary>
    /// 角色权限关系表
    /// </summary>
    [Table("RolePermissions")]
    public class RolePermissions : AuditField<int>
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int? RoleId { get; set; }
        /// <summary>
        /// 权限ID
        /// </summary>
        public int? PermissionId { get; set; }
    }
}
